package cn.tedu.micro.order.feign;

import cn.tedu.micro.common.pojo.protocol.JsonResult;
import cn.tedu.micro.common.pojo.vo.GunInfoVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("device-service")
public interface DeviceClient {
    @GetMapping("device/gun/info/{gunId}")
    JsonResult<GunInfoVO> getGunInfo(@PathVariable Integer gunId);
}
